/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package demo1008;

import java.util.HashSet;

/**
 *
 * @author Administrator
 */
public class HashSetDemo1 {
   
  
    public static void main(String args[]){
        System.out.println(Character.isDigit('5'));
        System.out.println(Character.isLowerCase('a'));
        System.out.println(Character.isUpperCase('a'));
        
        
        
      HashSet<Character > hs=new HashSet<Character>();
      
      String s2="ertadds";
       char c[]=s2.toCharArray();
       
      for(char c1:c){
          hs.add(c1);
      }
      
      for(char c2:hs){
          System.out.print(c2);
      }
    }
    
}
